package com.collect.senegal.zhiAdater.zhiDs;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.senegal.R;
import com.collect.senegal.zhiBean.zhiReceive.ZHIRDsHistoryEntity;

public class ZHIDsHistory extends BaseQuickAdapter<ZHIRDsHistoryEntity, BaseViewHolder> {

    public ZHIDsHistory() {
        super(R.layout.item_level_detail_column_5_not_ext, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRDsHistoryEntity item) {
        helper.setText(R.id.tv_col_0, item.getDate() + "");
        helper.setText(R.id.tv_col_1, item.getAssignNum() + "");
        helper.setText(R.id.tv_col_2, item.getFinishedNum() + "");
        helper.setText(R.id.tv_col_3, item.getUnfinishedNum() + "");
        helper.setText(R.id.tv_col_4, item.getFinishRateFormat());
    }
}
